package com.zxy.ziems.server.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.zxy.btp.common.response.PageResult;
import com.zxy.ziems.server.domain.Agreement;
import com.zxy.ziems.server.dto.AgreementDto;
import com.zxy.ziems.server.dto.AgreementQueryDto;
import com.zxy.ziems.server.vo.AgreementVo;

public interface AgreementService extends IService<Agreement> {

    void addOrUpdate(AgreementDto agreementDto);

    void delete(String agreementId);

    PageResult<AgreementVo> pageList(AgreementQueryDto agreementQueryDto);
}
